package cn.wolfcode.trip.base.query;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.util.StringUtils;

@Setter@Getter@ToString
public class QueryObject {
    private int currentPage=1;
    private int pageSize=5;

    private String keyword;
    public String getKeyword(){
        return StringUtils.hasLength(keyword)?keyword:null;
    }
    private String orderBy;

}
